<?php

namespace App\Models\shop;

use  App\Models\base\traits\ImgTrait;
use Illuminate\Database\Eloquent\Model;
use Watson\Rememberable\Rememberable;

/**
 * App\Models\shop\Shop
 *
 * @property int $id
 * @property string $img 封面图
 * @property string $name 名称
 * @property string $address 地址
 * @property string $log 所在经度
 * @property string $lat 所在纬度
 * @property string $phone 联系电话
 * @property int $province_id
 * @property int $city_id
 * @property int $district_id
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read mixed $header_img
 * @property-read mixed $icon
 * @property mixed $icons
 * @property mixed $imgs
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereCityId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereDistrictId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereImg($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereLat($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereLog($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereProvinceId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\shop\Shop whereUpdatedAt($value)
 * @mixin \Eloquent
 * @property mixed $parameter
 */
class Shop extends Model
{
    use ImgTrait;

    use Rememberable;

    protected $fillable = [
        'name',
        'img',
        'address',
        'log',
        'lat',
        'province_id',
        'city_id',
        'district_id',
        'phone'
    ];
}
